// pages/category/category.js
Page({
  async setTitle() {
    await wx.setNavigationBarTitle({
      title: '张老师'
    })
    console.log('成功')
  }
})